package com.project.entity;

import com.project.myBeans.EntitySupport;


/**
 * 表：user
 */
public class User extends EntitySupport{
    /**
     * 字段：id
     * 注释：userid
     */
    private Integer id;

    /**
     * 字段：universityid
     * 注释：大学id
     */
    private Integer universityid;

    /**
     * 字段：schoolid
     * 注释：学院id
     */
    private Integer schoolid;

    /**
     * 字段：username
     * 注释:用户名
     */
    private String username;

    /**
     * 字段：password
     * 注释:用户密码
     */
    private String password;

    /**
     * 字段：salt
     * 注释：盐值
     */
    private String salt;

    /**
     * 字段：realname
     * 注释：真实姓名
     */
    private String realname;

    /**
     * 字段：workid
     * 注释：学(工)号
     */
    private String workid;

    /**
     * 字段：sex
     * 注释：性别    1：男 2：女
     */
    private Integer sex;

    /**
     * 字段：email
     * 注释：邮箱
     */
    private String email;

    /**
     * 字段：mobile
     * 注释：手机号
     */
    private String mobilephone;

    /**
     * 字段：qq
     * 注释：QQ
     */
    private String qq;

    /**
     * 字段：wechat
     * 注释：微信
     */
    private String wechat;

    /**
     * 字段：category
     * 注释：用户类别
     */
    private Integer usertype;

    private Integer managetype;

    /**
     * 字段：state
     * 注释：状态 0：禁用  1：正常
     */
    private Short state;

    /**
     * 以下是附加字段
     * newPassword:新密码
     * checkPassword:确认密码
     * captchaCode:验证码
     */
    private String newPassword;
    private String checkPassword;
    private String captchaCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getWorkid() {
        return workid;
    }

    public void setWorkid(String workid) {
        this.workid = workid;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getCheckPassword() {
        return checkPassword;
    }

    public void setCheckPassword(String checkPassword) {
        this.checkPassword = checkPassword;
    }

    public String getCaptchaCode() {
        return captchaCode;
    }

    public void setCaptchaCode(String captchaCode) {
        this.captchaCode = captchaCode;
    }

    public Integer getUniversityid() {
        return universityid;
    }

    public void setUniversityid(Integer universityid) {
        this.universityid = universityid;
    }

    public Integer getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(Integer schoolid) {
        this.schoolid = schoolid;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public Integer getUsertype() {
        return usertype;
    }

    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public Integer getManagetype() {
        return managetype;
    }

    public void setManagetype(Integer managetype) {
        this.managetype = managetype;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}
